package chapter_11_facade.z_coffee.subsystem;

/**
 * Created by CharloYao on 2017/3/24.
 */
public class CoffeeMachine {

    public void putWater(Water water){
        System.out.println("咖啡机中倒入："+water.getName());
    }

    public void putCoffeeBean(CoffeeBean coffeeBean){
        System.out.println("咖啡机中倒入："+coffeeBean.getName());
    }

    public void make(){
        System.out.println("咖啡机运行...");
        System.out.println("咖啡做好了");
    }

}
